<div>
  <?php echo $this->title?>
 <?php
 foreach($this->dane as $x)
    echo $x
    ?>
</div>